package com.tarena.lbs.user.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.user.pojo.param.UserParam;
import com.tarena.lbs.user.pojo.po.UserPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper  extends BaseMapper<UserPO> {
    @Select("select * from lbs_user where phone=#{phone}")
    UserPO userlogin(String phone);

    List<UserPO> listUser(UserParam param);
}
